package com.ck.easy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ck.easy.common.entity.SourceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ck
 * @date 2023/8/25 16:14
 */
@Mapper
public interface EasyExcelMapper extends BaseMapper<SourceEntity> {
    @Select("select count(*) from source_table")
    Integer selectSource();

    @Select("select * from source_table")
    List<SourceEntity> selectByPage20w();

}
